/**
 * author:龚佳新  
 * date:2013-08-12
 * 资产结构模型 方法全部抽取 为目前最精简模式
 */
Cnbi.model.Eva= function(params) {
   Cnbi.model.BaseSliderAndProgress.call(this,params); 
   var scope = this,domArray = params["domArray"];
   this.initPage=function(){
	      if(!scope.flag){//alert("子类的initPage");
	      		CnbiSoft.setCurrentRenderer("JavaScript");
	    	}

	   setFormula(false);
	   scope.setSliderValue(params.slider_array, scope.datas, "Idinput");
	   scope.setProgressValue(params.progress_array,scope.datas, "Idspan");
	   this.initChart(true);
	     	
    }
    
    this.initChart=function(action){   	  
    	  }    	        	           
    
    this.updataInputAfter=function(id ,value,datas ){		
		setFormula(true); 
	};
	
	function setFormula(action) {
			   	      
	}
 
   	scope.init();
}
Ext.onReady(function(){
	var slider_array=module["sliderItemScode"].split(",");
	var params ={itemIndex:module["queryItemScode"],showDim:'item',povitDim:'item',queryFact:'B',company:'EVA1',type:"eva",year :qj.year,month :'01',unit :qj.unit};
    var toolsMap = module["toolsMap"];
    var bean =  new Cnbi.model.Eva({
    	id:module["id"],
		slider_array:slider_array,
		params:params,
		progress_array:[
		    toolsMap["jjzjz"]["scode"],
		    toolsMap["shjyylr"]["scode"],
		    toolsMap["tzhzb"]["scode"],
		    toolsMap["yjkfftzx"]["scode"],
		    toolsMap["sdsl"]["scode"],
		    toolsMap["pjsyzqy"]["scode"], 
		    toolsMap["pjfz"]["scode"],
		    toolsMap["pjwxldfz"]["scode"],
		    toolsMap["pjzjgc"]["scode"], 
		    toolsMap["qcwxldfz"]["scode"],
		    toolsMap["qmwxldfz"]["scode"]],
		updateInput:'Idinput',
		pro:{width:120},
		//domArray:["zzcbzvId","zzczzvId","chartId","_cnbi_chartId"],
		companyName:company["text"],
		/*judgeObj:{
		          syzqyhj:toolsMap["syzqyhj"]["scode"],
		          ldzc:toolsMap["ldzc"]["scode"],
		          fzzj:toolsMap["fzzj"]["scode"],
		          fldzc:toolsMap["fldzc"]["scode"],
		          zcfzv:toolsMap["zcfzv"]["scode"],
		          ldzczcv:toolsMap["ldzczcv"]["scode"],
		          yysrzcv:toolsMap["yysrzcv"]["scode"],
		          zzcbzv:toolsMap["zzcbzv"]["scode"],
		          zzczzv:toolsMap["zzczzv"]["scode"]
		         },*/
		//assistsFormulas:module["formulas"]["assists_formulas"],
		module:module
	 }); 	 	
});